package com.design.builder.computer;

/**
 * @author xiemiao
 * @description 办公电脑
 * @date 2023/08/15
 */
public class OfficeComputer implements ComputerBuilder {

    private Computer computer = new Computer();

    @Override
    public void buildCpu() {
        computer.setCpu("Intel i5-13600k");
    }

    @Override
    public void buildMemory() {
        computer.setMemory("16GB");
    }

    @Override
    public void buildStorage() {
        computer.setStorage("ZhiTai plus5000 1TB");
    }

    @Override
    public void buildGraphicsCard() {
        computer.setGraphicsCard("core graphics card");
    }

    @Override
    public Computer getComputer() {
        return computer;
    }
}
